package cn.ggcms.cms.vo;

import java.util.Date;

/**
 * Messages entity. @author MyEclipse Persistence Tools
 */

public class Messages implements java.io.Serializable {

	// Fields

	private Integer id;
	private Users users;
	private String email;
	private String userName;
	private Date createTime;
	private String content;
	private Short status;

	// Constructors

	/** default constructor */
	public Messages() {
	}

	/** minimal constructor */
	public Messages(String userName, Date createTime, Short status) {
		this.userName = userName;
		this.createTime = createTime;
		this.status = status;
	}

	/** full constructor */
	public Messages(Users users, String email, String userName,
			Date createTime, String content, Short status) {
		this.users = users;
		this.email = email;
		this.userName = userName;
		this.createTime = createTime;
		this.content = content;
		this.status = status;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

}